public class E {
  public static void main(String args[]) {
    B b=new B();
    Com com=b;
    System.out.println(com.add(12,26));
    A a =b;
    System.out.println(a.add(10,5));
  }
}
